LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / Translate Method / Translate<TResult>(DbDataReader) Method
The IDataReader to be converted.

In This Topic
    Translate<TResult>(DbDataReader) Method
    In This Topic
    Converts an existing DbDataReader to objects.
    Syntax
    'Declaration
     
    Public Overloads Function Translate(Of TResult)( _
       ByVal reader As DbDataReader _
    ) As IEnumerable(Of TResult)
    public IEnumerable<TResult> Translate<TResult>( 
       DbDataReader reader
    )

    Parameters

    reader
    The IDataReader to be converted.

    Type Parameters

    TResult

    Return Value

    A list of objects returned by the conversion.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also